package com.wman.mvp.mvp.presenter

/**
 * @ProjectName: wman
 * @Package: com.wman.mvp.persenter
 * @ClassName: BasePresenter
 * @Description: java类作用描述
 * @Author: wman
 * @CreateDate: 2020/1/2 16:15
 * @UpdateUser: 更新者
 * @UpdateDate: 2020/1/2 16:15
 * @UpdateRemark: 更新说明
 * @Version: 1.0
 */
open class BasePresenter<T> {
    private var mBaseView: T? = null

    fun bindView(mBaseView: T) {
        this.mBaseView = mBaseView
    }

    fun unBindView() {
        this.mBaseView = null
    }

    fun getBaseView() = mBaseView
}